package fr.mywiki.model.ejbAdapter;

import javax.ejb.CreateException;

import fr.mywiki.model.ejbAdapter.entity.EntryLocalHome;

import junit.framework.TestCase;

public class EntityHomeCacheTest extends TestCase{
	protected void setUp() {}
	
	public void testGetArticleHome() {
		EntryLocalHome home = EntityHomeCache.getInstance().getEntryHome();
		try {
			home.create(new Long(1));
		} catch (CreateException e) {
			fail("Erreur de creation");
		}
	}
}
